import {createApp} from'../12.5/vue.js'
import '../12.5/index.css'
      createApp({
        data() {
            return {
                title: [    
                    {
                        item: 'html'
                    },
                    {
                        item: 'css'
                    },
                    {
                        item: 'js'
                    },
                    {
                        item: 'vuejs'
                    },
                ],
                contents: [
                    {
                        item: 'html-contents'
                    },
                    {
                        item: 'css-contents'
                    },
                    {
                        item: 'js-contents'
                    },
                    {
                        item: 'vuejs-contents'
                    }
                ],
                content: '',
            };
        },
        methods: {
            getChange(index){
                this.content = this.contents[index].item
            },
            cleanChange(){
                this.content = ''
            }
        }
      }).mount('#app');